package com.kingtop.base.dao;

import java.util.List;

import org.kingtop.mybatis.mapper.IBaseDaoMapper;

import com.kingtop.base.model.BaseRole;

public interface IBaseRoleDao extends IBaseDaoMapper<BaseRole>{

	/**
	 * 通过用户id查找权限
	 * @author 陈金波
	 * @param userId 用户id
	 * @return
	 */
	List<BaseRole> listByUserId(long userId);
 
}
